/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.PasswordTextBox;
import com.google.gwt.user.client.ui.PopupPanel;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.VerticalPanel;
import sun.security.util.Password;

/**
 * Main entry point.
 *
 * @author kaio
 */
public class novoEntryPoint implements EntryPoint {

    /**
     * Creates a new instance of novoEntryPoint
     */
    public novoEntryPoint() {
    }

    /**
     * The entry point method, called automatically by loading a module that
     * declares an implementing class as an entry-point
     */
    public void onModuleLoad() {
        
        Label loginText = new Label("Login");
        Label senhaText = new Label("Senha");
        senhaText.setStyleName("textoLogin");
        loginText.setStyleName("textoLogin");
        
        TextBox login = new TextBox();
        PasswordTextBox senha = new PasswordTextBox();
        VerticalPanel vertical =new VerticalPanel();
        vertical.add(loginText);
        vertical.add(login);
        vertical.add(senhaText);
        vertical.add(senha);
        
        
        RootPanel.get("login").add(vertical);
       
    }
}
